package com.blue.core.excel;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author zhengjin
 * @since 1.0 2017年12月25日
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Excel
public class User
{
	@ExcelColumn(columnIndex = 0, name = "编号")
	private Integer id;
	@ExcelColumn(columnIndex = 1, name = "用户名")
	private String name;
	@ExcelColumn(columnIndex = 2, name = "密码")
	private String password;
	@ExcelColumn(columnIndex = 3, name = "生日")
	private Date birthday;
	@ExcelColumn(columnIndex = 4, name = "年龄")
	private Integer age;
}
